package com.lagou.factory;

import com.lagou.dao.IUserDao;
import com.lagou.dao.impI.UserDaoImpI;

/**
 * @Author wsl
 * @Date 2021/11/7 22:36
 * @Project_Name jdbc_spring
 */
public class StaticFactoryBean {

    //工厂静态方法实例化
    public static IUserDao createUserDao(){
        return new UserDaoImpI();
    }
}
